<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
    <title>博客系统-后台管理</title>
<link rel="stylesheet" href="./public/admin/css/pintuer.css">
<link rel="stylesheet" href="./public/admin/css/admin.css">
<script src="./public/admin/js/jquery.js"></script>
<script src="./public/admin/js/pintuer.js"></script>
<script src="./public/admin/js/respond.js"></script>
<script src="./public/admin/js/admin.js"></script>
<link type="image/x-icon" href="/favicon.ico" rel="shortcut icon" />
<link href="/favicon.ico" rel="bookmark icon" />
</head>

<body>
<div class="lefter">
    <div class="logo"><a href="#" target="_blank"><img src="./public/admin/images/logo.png" alt="后台管理系统" /></a></div>
</div>
<div class="righter nav-navicon" id="admin-nav">
    <div class="mainer">
        <div class="admin-navbar">
            <span class="float-right">
                <a class="button button-little bg-main" href="/" target="_blank">前台首页</a>
                <a class="button button-little bg-yellow" href="?p=admin&c=Land&a=Out">注销登录</a>
            </span>
            <ul class="nav nav-inline admin-nav">
                <li class="active"><a href="?p=admin" class="icon-home"> 开始</a>
                    <ul>
                        <li class="active"><a href="?p=admin&c=Class&a=List">分类管理</a></li>
                        <li class="ax" ><a href="?p=admin&c=Article&a=List">文章管理</a></li>
                        <li class="ax"><a href="?p=admin&c=Mege&a=List">留言管理</a></li>
                        <li class="ax"><a href="?p=admin&c=Setup&a=List">站点管理</a></li>
                        <li class="ax"><a href="?p=admin&c=Connect&a=List">友情链接</a></li>
                        <li class="ax"><a href="?p=admin&c=User&a=List">用户管理</a></li>
                    </ul>
                </li>

            </ul>
        </div>
        <div class="admin-bread">
            <span>您好，<?php echo $_SESSION['user_name'];?>，欢迎您的光临。</span>
            <ul class="bread">
                <li><a href="index.php?p=admin" class="icon-home"> 开始</a></li>
                <li>后台首页</li>
            </ul>
        </div>
    </div>
</div>
<div class="admin">
  <div class="tab">
    <div class="tab-head"> <strong><a href="?p=admin&c=Class&a=List">分类管理</a> </strong>
      <ul class="tab-nav">
        <li class="active"><a href="#tab-set">修改分类</a></li>
      </ul>
    </div>
    <div class="tab-body"> <br />
      <div class="tab-panel active" id="tab-set">
        <form method="post" class="form-x" action="?p=admin&c=Class&a=upCate">
          <div class="form-group">
            <div class="label">
              <label for="sitename">分类名称</label>
            </div>
            <div class="field">
                <input type="text" class="input" id="name" name="classname" size="50" value="<?php echo $data['col_content'];?>" data-validate="required:请填写您的分类名称" />
                <input type="hidden" class="input" id="class_id" name="classid" size="50" value="<?php echo $data['col_id'];?>" data-validate="required:请填写您的分类名称" />
            </div>
          </div>
          <div class="form-group">
            <div class="label">
              <label for="readme">分类描述</label>
            </div>
            <div class="field">
              <textarea class="input" rows="5" cols="50" data-validate="required:请填写分类描述" name="classmes"><?php echo $data['col_message'];?></textarea>
            </div>
          </div>
          <div class="form-button">
            <button class="button bg-main" type="submit">修改</button>
          </div>
        </form>
      </div>
    </div>
  </div>
  <div style='height:20px; border-bottom:1px #DDD solid'></div>
</div>
</body>
</html>